<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8"/>
	<title th:text="${application.USM_CONTEXT_FULLNAME}"></title>
	<meta name="renderer" content="webkit"/>	
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>	
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>	
	<meta name="apple-mobile-web-app-capable" content="yes"/>	
	<meta name="format-detection" content="telephone=no"/>	
	<meta name="_csrf" th:content="${_csrf.token}"/>
	<meta name="_csrf_header" th:content="${_csrf.headerName}"/>
	<link rel="stylesheet" type="text/css" th:href="@{/statics/plugins/layui/css/layui.css}"/>
	<link rel="stylesheet" type="text/css" th:href="@{/statics/css/font-awesome.min.css}"/>
	<link rel="stylesheet" type="text/css" th:href="@{/statics/css/AdminLTE.min.css}" />
	<link rel="stylesheet" type="text/css" th:href="@{/statics/css/index1.css}"/>
</head>
<body>
<div class="layui-layout layui-layout-admin" id="layui_layout">
	<!-- 顶部区域 -->
	<div class="layui-header header header-demo">
		<div class="layui-main">
		    <!-- logo区域 -->
			<div class="admin-logo-box">
				<a class="logo" th:href="@{/index}" th:text="跨越速运短网址"></a>
				<div class="larry-side-menu">
					<i class="fa fa-bars" aria-hidden="true"></i>
				</div>
			</div>
            <ul class="layui-nav larry-header-item">
            	<li class="layui-nav-item"><a th:href="@{/ws}" target="_blank"><i class="fa fa-comments"></i> &nbsp;动弹一下</a></li>
				<li class="layui-nav-item"><a th:href="@{/toggle/c}"><i class="fa fa-toggle-on"></i> &nbsp;主题切换</a></li>
				<li class="layui-nav-item"><a href="javascript:;"  onclick="IndexHandler.updatePassword()"><i class="fa fa-lock"></i> &nbsp;修改密码</a></li>
       			<li class="layui-nav-item"><a href="javascript:document.getElementById('logout').submit()"><i class="fa fa-sign-out"></i> &nbsp;退出系统</a><form id="logout" style="{display:none}" th:action="@{/logout}" method="post"/></li>
            </ul>
		</div>
	</div>
	<!-- 左侧侧边导航开始 -->
	<div class="layui-side layui-side-bg layui-larry-side" id="larry-side">
        <div class="layui-side-scroll" id="larry-nav-side" lay-filter="side">
		<!-- 左侧菜单 -->
		<ul class="layui-nav layui-nav-tree">
			 <li th:each="menu,menuStat:${menus}" class="layui-nav-item">
			 	<a href="javascript:;" th:attr="data-url=${menu.url},data-target=${menu.target}" th:class="${menu.children.size() gt 0 ?'':'menu-leaf' }">
			 		<i th:class="${menu.icon}" th:attr="data-icon=${menu.icon}"></i>
			 		<span th:text="${menu.name}"></span>
			 		<em th:if="${menu.children.size() gt 0}" class="layui-nav-more"></em>
			 	</a>
			 	<dl th:if="${menu.children.size() gt 0}" class="layui-nav-child">
			 		<dd th:each="smenu,smenuStat:${menu.children}">
				 		<a class="menu-leaf" href="javascript:;" th:attr="data-url=${smenu.url},data-target=${smenu.target}">
				 		<i th:attr="data-icon=${smenu.icon}" th:class="${smenu.icon}"></i>
				  		<span  th:text="${smenu.name}"></span>
				  		</a>
			  		</dd>
				</dl>
			</li> 
		
		</ul>
	    </div>
	</div>

	<!-- 左侧侧边导航结束 -->
	<!-- 右侧主体内容 -->
	<div class="layui-body" id="larry-body" style="bottom: 0;border-left: solid 2px #1AA094;">
		<div class="layui-tab layui-tab-card larry-tab-box" id="larry-tab" lay-filter="main-tab" lay-allowclose="true">
			<ul class="layui-tab-title">
				<li class="layui-this" id="admin-home"><i class="fa fa-home"></i><em>控制台</em></li>
			</ul>
			<div class="layui-tab-content" style="min-height: 150px; ">
				<div  name="main_frame" id="iframeId"  class="iframe-content layui-tab-item layui-show">
					<iframe id="" class="larry-iframe" data-id='0'  th:src="@{/main}"></iframe>
				</div>
			</div>
		</div>
	</div>
	<!-- 底部区域 -->
	<div class="layui-footer layui-larry-foot" id="larry-footer">
		<div class="layui-main">
		     Copyright &copy; 2017-2018 <a href="http://www.ky-express.com" target="_blank">KYE</a> All Rights Reserved
			<div class="pull-right hidden-xs"><small>更新于: </small><span th:text="${upgradeTime}"></span> Version 3.0.0 @ C &nbsp;&nbsp;&nbsp;</div>
		</div>	
	</div>
	<!-- 修改密码 -->
	<div id="passwordLayer" style="display: none;">
	
		<form class="layui-form" action="">
			<div class="layui-form-item">
		    	<label class="layui-form-label">账号</label>
		    	<label class="layui-form-label laber-account" th:text="${#httpServletRequest.remoteUser}"> </label>
			</div>
			<div class="layui-form-item">
		    	<label class="layui-form-label">原密码</label>
		    	<div class="layui-input-inline">
		    		<input type="password" name="password" placeholder="输入原密码" autocomplete="off" class="layui-input"/>
		    	</div>
			</div>
			<div class="layui-form-item">
		    	<label class="layui-form-label">新密码</label>
		    	<div class="layui-input-inline">
		    		<input type="password" name="newPassword" placeholder="输入新密码" autocomplete="off" class="layui-input"/>
		    	</div>
			</div>
			<div class="layui-form-item">
		    	<label class="layui-form-label">确认密码</label>
		    	<div class="layui-input-inline">
		    		<input type="password" name="newPwd" placeholder="再次输入新密码" autocomplete="off" class="layui-input"/>
		    	</div>
			</div>
		</form>
	</div>
</div>
<script type="text/javascript" th:src="@{/statics/libs/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/statics/plugins/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/statics/js/usm.js}"></script>
<script type="text/javascript" th:src="@{/statics/js/index-t.js}"></script>
</body>
</html>